export function isAbsoluteUrl (url) {
  return url.indexOf('http') === 0 || url.indexOf('//') === 0
}